<template>
	<div class="banner">
		<div class="block">
			<el-carousel trigger="click" height="100vh">
				<el-carousel-item v-for="(item, index) in src" :key="index">
					<img :src="item" >
				</el-carousel-item>
			</el-carousel>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				src: [
					'http://demo.kangjingept.com/cssthemes6/11.15ZF19/images/ban.jpg',
					'http://demo.kangjingept.com/cssthemes6/11.15ZF19/images/ban1.jpg',
					'http://demo.kangjingept.com/cssthemes6/11.15ZF19/images/ban.jpg'
				]
			}
		},
		methods: {

		},
	}
</script>

<style lang="scss" scoped>
	.el-carousel__item h3 {
		color: #475669;
		font-size: 14px;
		opacity: 0.75;
		line-height: 200px;
		margin: 0;
	}

	.el-carousel__item:nth-child(2n) {
		background-color: #99a9bf;
	}

	.el-carousel__item:nth-child(2n+1) {
		background-color: #d3dce6;
	}
</style>
